﻿using GSPatEditor.SoundEffect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GSPatEditor.Pat
{
    class PatProject
    {
        public readonly Dictionary<int, Animation> AnimationList = new Dictionary<int, Animation>();
        public readonly Dictionary<int, ActorGenerator> ActorList = new Dictionary<int, ActorGenerator>();
        public readonly Dictionary<int, NormalAction> ActionList = new Dictionary<int, NormalAction>();
        public readonly ActionList SystemActions = new ActionList();

        public readonly Resources ImageResources = new Resources();
        public readonly SoundEffectResources SoundEffectResources = new SoundEffectResources();

        public Animation GetAnimationByName(int name)
        {
            return AnimationList[name];
        }

        public ActorGenerator GetActorGeneratorByName(int name)
        {
            return ActorList[name];
        }
    }
}
